package com.woniuxy.hospital.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.beans.Transient;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2021-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("hpl_doctor")
public class HplDoctor implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String account;

    private String password;

    private String name;

    private String phoneNumber;

    private String idCard;

    private String no;

    private String birthDate;

    private String sex;

    private Integer depId;

    private String entryTime;

    private Integer titleId;

    private String state;

    private String photo;

    private String description;

    @TableField(exist = false)
    private String depName;//存储科室名

    @TableField(exist = false)
    private String titleName;//存储职称名

    @TableField(exist = false)
    private String startTime;//存储查询起始条件

    @TableField(exist = false)
    private String endTime;//存储查询结束条件
}
